Ext.define('overrides.Ext.list.Tree',{
    override:'Ext.list.Tree',
    applySelection: function(selection, oldSelection) {
        var me = this;
        var store = this.getStore();
        if (!store) {
            selection = null;
        }
        if (selection && selection.get('selectable') === false) {
            selection = oldSelection;
        }
        me.fireEvent('select',me, selection);
        return selection;
    }
});